home *** CD-ROM | disk | FTP | other *** search
/ Know Your Hockey - The Greatest Player Resource / Know Your Hockey: The Greatest Player Resource.iso / hockey / director / ssqcst.cst / 00050_Script_HideText < prev    next >
Text File  |  1998-09-28  |  1KB  |  31 lines

  1. global gTheBench,gXCast,gPrompts
  2.  
  3.  
  4. on mousedown
  5.   puppetsprite 6,1
  6.   set current =the name of member ( the membernum of sprite 48) of castlib gXCast
  7.   set templist = getaprop(gTheBench,#video)-- get the current card list
  8.   set which = getpos(templist,current) -- find which position the text is from
  9.   set Cardlist =getaprop (gTheBench,#card)-- get the available cards 
  10.   set theCard=  getat(Cardlist,which)--- find the same position in thecard list and get the content of at pos.
  11.   --  put theCard
  12.   repeat with x = 7 to 10
  13.     set the type of sprite x = 0
  14.   end repeat
  15.   set the type of sprite 7 = 16
  16.   set the membernum of sprite 7 = the number of member  theCard
  17.   set the locv of sprite 7  = the locv of sprite 1-53
  18.   set the loch of sprite 7  = the loch of sprite 1+146
  19.   set the ink of sprite 7 = 32
  20.   
  21.   
  22.   set p = the number of member "MoreInfo" of castlib "SSQCST"
  23.   set t = the number of member "Displaytext" 
  24.   set the membernum of sprite 43 = p
  25.   set  the scriptText of member p = the scriptText of member t
  26.   
  27.   -- change the detail button to match the ront of the card
  28.   set the membernum of sprite 40 = the number of member  "Details" of castlib "SSQCST"
  29.   
  30. end
  31.